package edu.sctu.practice.class02.liqing.test07;

/**
 * Created by 123456 on 2015/10/10.
 */
public class WuMianFen {
    String theMa;
    int quantity;
    boolean likeSoup;

    public WuMianFen(String theMa, int quantity, boolean likeSoup) {
        this.theMa = theMa;
        this.quantity = quantity;
        this.likeSoup = likeSoup;
    }

    public WuMianFen(String theMa, int quantity) {
        this.theMa = theMa;
        this.quantity = quantity;
    }
        public WuMianFen() {
            theMa = "酸辣";
            quantity = 2 ;
            likeSoup = true;
    }
    public void check(){
        System.out.println("面码:"+this.theMa+"    "+"粉的分量："+this.quantity+"（两）"+ "   "+"是否带汤："+(this.likeSoup == true ?"是":"否"));
    }
}